#include "KPF_DataManager.h"

#include <iostream>
using namespace std;

#include "KPF_DGramServiceSession.h"

#include "log.h"

#include "oal_api.h"

#include "RunTime.h"

class CTestUDPServer : public KPF_DGramServiceSession
{
public:
	CTestUDPServer( const int8_t *pIP, int16u_t iPort )
		: KPF_DGramServiceSession( pIP, iPort )
	{
		
	}
	
protected:

private:

};

int main( int argc, char **argv )
{

	
	cout<<"main:-------------->"<<endl;
	
	KPF_DGramServiceSession *pUDPServerSession = new CTestUDPServer( (const int8_t *)"192.168.1.100", 10000 );
	
	if ( pUDPServerSession )
	{

	}
	
	while ( 1 )
		os_sleep( 1000 * 1000 * 60 );
		
	return 0;	
}

static CRunTime fg_RunTime;
